package ldh.im.fxgui.controller.sub;

import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.control.TextArea;
import ldh.im.fxbase.data.pojo.ImFeedback;

public class FeedbackInfoController {

    @FXML private Label titleLabel;
    @FXML private TextArea contentTextArea;
    @FXML private TextArea resultTextArea;

    public void setFeedback(ImFeedback feedback) {
        titleLabel.setText(feedback.getTitle());
        contentTextArea.setText(feedback.getContent());
        resultTextArea.setText(feedback.getResult());
    }
}
